package com.code.leetcode.offer;

/**
 * @author codeDorado
 * @version 1.0
 * @date 2020/8/6 9:16
 */
public class The58_2 {
    public String reverseLeftWords(String s, int n) {
        StringBuilder builder = new StringBuilder();
        builder.append(s.substring(n, s.length()));
        builder.append(s.substring(0, n));
        return builder.toString();
    }
}
